
    l0jQ                     8   d dl Z d dlZd dlmZ d dlZd dlmZ dZi ddddd	d
dddddddddddddddddddddd d!d"d#g d$Zd%efd&Z	 e j
        d'd(          d(k    r.ej        s) ej        e	ef)                                           dS dS dS )*    N)Dict)
wasm_utilsz*https://api.gradio.app/gradio-messaging/enRUNNING_LOCALLYzRunning on local URL:  {}RUNNING_LOCALLY_SEPARATEDz!Running on local URL:  {}://{}:{}SHARE_LINK_DISPLAYzRunning on public URL: {}COULD_NOT_GET_SHARE_LINKzr
Could not create share link. Please check your internet connection or our status page: https://status.gradio.app.%COULD_NOT_GET_SHARE_LINK_MISSING_FILEa?  
Could not create share link. Missing file: {}. 

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps: 

1. Download this file: {}
2. Rename the downloaded file to: {}
3. Move the file to this location: {}COLAB_NO_LOCALzDCannot display local interface on google colab, public link created.PUBLIC_SHARE_TRUEz9
To create a public link, set `share=True` in `launch()`.MODEL_PUBLICLY_AVAILABLE_URLzOModel available publicly at: {} (may take up to a minute for link to be usable)GENERATING_PUBLIC_LINKz3Generating public link (may take a few seconds...):BETA_INVITEz
Thanks for being a Gradio user! If you have questions or feedback, please join our Discord server and chat with us: https://discord.gg/feTf9x3ZSBCOLAB_DEBUG_TRUEzColab notebook detected. This cell will run indefinitely so that you can see errors and logs. To turn off, set debug=False in launch().COLAB_DEBUG_FALSEzUColab notebook detected. To show errors in colab notebook, set debug=True in launch()COLAB_WARNINGzENote: opening Chrome Inspector may crash demo inside Colab notebooks.SHARE_LINK_MESSAGEz
This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)INLINE_DISPLAY_BELOWzInterface loading below...TIPS)zYou can add authentication to your app with the `auth=` kwarg in the `launch()` command; for example: `gr.Interface(...).launch(auth=('username', 'password'))`zLet users specify why they flagged input with the `flagging_options=` kwarg; for example: `gr.Interface(..., flagging_options=['too slow', 'incorrect output', 'other'])`zYou can show or hide the button for flagging with the `allow_flagging=` kwarg; for example: gr.Interface(..., allow_flagging=False)a  The inputs and outputs flagged by the users are stored in the flagging directory, specified by the flagging_dir= kwarg. You can view this data through the interface by setting the examples= kwarg to the flagging directory; for example gr.Interface(..., examples='flagged')a  You can add a title and description to your interface using the `title=` and `description=` kwargs. The `article=` kwarg can be used to add a description under the interface; for example gr.Interface(..., title='My app', description='Lorem ipsum'). Try using Markdown!zpFor a classification or regression model, set `interpretation='default'` to see why the model made a prediction.enc                     	 t          j        t          d                                          }|                     |           d S # t
          $ r Y d S w xY w)N   )timeout)requestsgetMESSAGING_API_ENDPOINTjsonupdate	Exception)r   updated_messagings     Q/home/wildlama/miniconda3/envs/lam/lib/python3.11/site-packages/gradio/strings.pyget_updated_messagingr!   '   sd    $L)?KKKPPRR
		#$$$$$   s   AA 
AAGRADIO_ANALYTICS_ENABLEDTrue)targetargs)os	threadingtypingr   r   gradior   r   r   r!   getenvIS_WASMThreadstart     r    <module>r0      s   				                 E 2!D 5   !V	
 ,  .v \ U #$u S   i  0 p \   F  8!"    #8d     29'00F:::CU:I1>>>DDFFFFF ;:::r/   