sounar commited on
Commit
4de7d8b
·
verified ·
1 Parent(s): 7c9e054

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -47,14 +47,13 @@ def generate_response(input_text):
47
  except Exception as e:
48
  return f"Error: {str(e)}"
49
 
50
- # Create a Gradio interface with API enabled
51
  iface = gr.Interface(
52
  fn=generate_response,
53
  inputs="text",
54
  outputs="text",
55
  title="ContactDoctor Medical Assistant",
56
- description="Provide input symptoms or queries and get AI-powered medical advice.",
57
- enable_api=True # Enables API for external calls
58
  )
59
 
60
  # Launch the Gradio app
 
47
  except Exception as e:
48
  return f"Error: {str(e)}"
49
 
50
+ # Create a Gradio interface
51
  iface = gr.Interface(
52
  fn=generate_response,
53
  inputs="text",
54
  outputs="text",
55
  title="ContactDoctor Medical Assistant",
56
+ description="Provide input symptoms or queries and get AI-powered medical advice."
 
57
  )
58
 
59
  # Launch the Gradio app