Jonas commited on
Commit
1013ff5
·
1 Parent(s): 06651f3

turn force cachce off

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -206,7 +206,7 @@ interface1 = gr.Interface(
206
  title="Top Adverse Events by Drug",
207
  description="Find the most frequently reported adverse events for a specific medication.",
208
  examples=[["Lisinopril"], ["Ozempic"], ["Metformin"]],
209
- cache_examples=True,
210
  )
211
 
212
  interface3 = gr.Interface(
@@ -226,7 +226,7 @@ interface3 = gr.Interface(
226
  description="Find the most frequently reported serious outcomes (e.g., hospitalization, death) for a specific medication.",
227
  examples=[["Lisinopril"], ["Ozempic"], ["Metformin"]],
228
  allow_flagging="never",
229
- cache_examples=True,
230
  )
231
 
232
  interface2 = gr.Interface(
@@ -239,7 +239,7 @@ interface2 = gr.Interface(
239
  title="Drug/Event Pair Frequency",
240
  description="Get the total number of reports for a specific drug and adverse event combination.",
241
  examples=[["Lisinopril", "Cough"], ["Ozempic", "Nausea"]],
242
- cache_examples=True,
243
  )
244
 
245
  interface4 = gr.Interface(
@@ -253,7 +253,7 @@ interface4 = gr.Interface(
253
  title="Time-Series Trend Plotting",
254
  description="Plot the number of adverse event reports over time for a specific drug-event pair.",
255
  examples=[["Lisinopril", "Cough", "Yearly"], ["Ozempic", "Nausea", "Quarterly"]],
256
- cache_examples=True,
257
  )
258
 
259
  interface5 = gr.Interface(
@@ -266,7 +266,7 @@ interface5 = gr.Interface(
266
  description="Show a pie chart breaking down the source of the reports (e.g., Consumer, Physician).",
267
  examples=[["Lisinopril"], ["Ibuprofen"]],
268
  allow_flagging="never",
269
- cache_examples=True,
270
  )
271
 
272
  demo = gr.TabbedInterface(
 
206
  title="Top Adverse Events by Drug",
207
  description="Find the most frequently reported adverse events for a specific medication.",
208
  examples=[["Lisinopril"], ["Ozempic"], ["Metformin"]],
209
+ #cache_examples=True,
210
  )
211
 
212
  interface3 = gr.Interface(
 
226
  description="Find the most frequently reported serious outcomes (e.g., hospitalization, death) for a specific medication.",
227
  examples=[["Lisinopril"], ["Ozempic"], ["Metformin"]],
228
  allow_flagging="never",
229
+ #cache_examples=True,
230
  )
231
 
232
  interface2 = gr.Interface(
 
239
  title="Drug/Event Pair Frequency",
240
  description="Get the total number of reports for a specific drug and adverse event combination.",
241
  examples=[["Lisinopril", "Cough"], ["Ozempic", "Nausea"]],
242
+ #cache_examples=True,
243
  )
244
 
245
  interface4 = gr.Interface(
 
253
  title="Time-Series Trend Plotting",
254
  description="Plot the number of adverse event reports over time for a specific drug-event pair.",
255
  examples=[["Lisinopril", "Cough", "Yearly"], ["Ozempic", "Nausea", "Quarterly"]],
256
+ #cache_examples=True,
257
  )
258
 
259
  interface5 = gr.Interface(
 
266
  description="Show a pie chart breaking down the source of the reports (e.g., Consumer, Physician).",
267
  examples=[["Lisinopril"], ["Ibuprofen"]],
268
  allow_flagging="never",
269
+ #cache_examples=True,
270
  )
271
 
272
  demo = gr.TabbedInterface(