Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,14 +44,11 @@ def fitness_coach(input_obat):
|
|
| 44 |
interface = gr.Interface(
|
| 45 |
fn=fitness_coach,
|
| 46 |
inputs=[
|
| 47 |
-
gr.Textbox(label="Obat")
|
| 48 |
-
gr.Number(label="Weight (kg)"),
|
| 49 |
-
gr.Dropdown(["Weight Loss", "Muscle Gain", "Maintenance"], label="Goal"),
|
| 50 |
-
gr.Dropdown(["Beginner", "Intermediate", "Advanced"], label="Activity Level"),
|
| 51 |
],
|
| 52 |
outputs="text",
|
| 53 |
-
title="
|
| 54 |
-
description="
|
| 55 |
)
|
| 56 |
|
| 57 |
interface.launch()
|
|
|
|
| 44 |
interface = gr.Interface(
|
| 45 |
fn=fitness_coach,
|
| 46 |
inputs=[
|
| 47 |
+
gr.Textbox(label="Nama Obat")
|
|
|
|
|
|
|
|
|
|
| 48 |
],
|
| 49 |
outputs="text",
|
| 50 |
+
title="💊 Edukasi Obat",
|
| 51 |
+
description="drug mechanism explainer"
|
| 52 |
)
|
| 53 |
|
| 54 |
interface.launch()
|