Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ def set_defaults(request: gr.Request):
|
|
13 |
print(request.username)
|
14 |
else:
|
15 |
print("No User Name")
|
16 |
-
|
17 |
-
return
|
18 |
|
19 |
#Gradio UI
|
20 |
#CIMStheme = gr.themes.Soft().set(button_primary_background_fill='#6562F4',body_background_fill='#e6effc')
|
@@ -34,6 +34,6 @@ with gr.Blocks(CIMStheme) as iface:
|
|
34 |
with gr.Column():
|
35 |
gr.HTML('<center><i>© 2023 Collegiate Influencer Marketing Systems, Inc.</i><br>CIMS.AI, CIMS.AI logo, NILI, NILI logo, and EzNIL are trademarks of Collegiate Influencer Marketing Systems, Inc.</center>')
|
36 |
|
37 |
-
iface.load(fn=set_defaults)
|
38 |
|
39 |
iface.launch()
|
|
|
13 |
print(request.username)
|
14 |
else:
|
15 |
print("No User Name")
|
16 |
+
|
17 |
+
return gr.Textbox(value="Default Value")
|
18 |
|
19 |
#Gradio UI
|
20 |
#CIMStheme = gr.themes.Soft().set(button_primary_background_fill='#6562F4',body_background_fill='#e6effc')
|
|
|
34 |
with gr.Column():
|
35 |
gr.HTML('<center><i>© 2023 Collegiate Influencer Marketing Systems, Inc.</i><br>CIMS.AI, CIMS.AI logo, NILI, NILI logo, and EzNIL are trademarks of Collegiate Influencer Marketing Systems, Inc.</center>')
|
36 |
|
37 |
+
iface.load(fn=set_defaults,outputs=question_tbox)
|
38 |
|
39 |
iface.launch()
|