c4r-sty commited on
Commit
ca8ce0d
·
verified ·
1 Parent(s): 1fc298d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -7,6 +7,20 @@ from sentence_transformers import SentenceTransformer
7
  # demo = gr.ChatInterface(respond)
8
  # demo.launch(css=".gradio-container { background-color: #f0f4f8; }")
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  custom_theme = gr.themes.Soft(
12
  primary_hue="pink",
 
7
  # demo = gr.ChatInterface(respond)
8
  # demo.launch(css=".gradio-container { background-color: #f0f4f8; }")
9
 
10
+ # import easygui
11
+
12
+ # def main():
13
+ # try:
14
+ # name = easygui.enterbox("What is your name?", "User Input")
15
+
16
+ # if name is None:
17
+ # easygui.msgbox("You cancelled the input.", "Cancelled")
18
+ # elif name.strip() == "":
19
+ # easygui.msgbox("You entered an empty name.", "Warning")
20
+ # else:
21
+ # easygui.msgbox(f"Hello, {name}!", "Greeting")
22
+ # except Exception as e:
23
+ # easygui.msgbox(f"Error: {e}", "Error")
24
 
25
  custom_theme = gr.themes.Soft(
26
  primary_hue="pink",