Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -216,8 +216,8 @@ print(state)
|
|
216 |
# Step 6: Gradio Interface
|
217 |
# ---------------------------------------
|
218 |
def gradio_interface(visitor_name, visitor_mobile, visitor_email, doctor_name, department_name):
|
219 |
-
|
220 |
-
|
221 |
state = VisitorState(
|
222 |
visitor_name=visitor_name,
|
223 |
visitor_mobile=visitor_mobile,
|
@@ -261,6 +261,4 @@ def greet(n):
|
|
261 |
|
262 |
demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
|
263 |
demo.launch()
|
264 |
-
|
265 |
"""
|
266 |
-
|
|
|
216 |
# Step 6: Gradio Interface
|
217 |
# ---------------------------------------
|
218 |
def gradio_interface(visitor_name, visitor_mobile, visitor_email, doctor_name, department_name):
|
219 |
+
#Interface for Gradio application.
|
220 |
+
|
221 |
state = VisitorState(
|
222 |
visitor_name=visitor_name,
|
223 |
visitor_mobile=visitor_mobile,
|
|
|
261 |
|
262 |
demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
|
263 |
demo.launch()
|
|
|
264 |
"""
|
|