dwipper commited on
Commit
b1e4394
1 Parent(s): 3d809f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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()