Spaces:
Paused
Paused
Commit
•
2f06b5d
1
Parent(s):
2f16f7b
Update app.py
Browse files
app.py
CHANGED
@@ -43,14 +43,14 @@ def gradio_predict(image, question, max_tokens):
|
|
43 |
return answer
|
44 |
|
45 |
|
46 |
-
examples = [["data/week_01_page_024.png", 'Can you explain the slide?'],
|
47 |
-
["data/week_03_page_091.png", 'Can you explain the slide?'],
|
48 |
-
["data/week_01_page_062.png", 'Are the training images labeled?'],
|
49 |
-
["data/week_05_page_027.png", 'What is meant by eigenvalue multiplicity?'],
|
50 |
-
["data/week_05_page_030.png", 'What does K represent?'],
|
51 |
-
["data/week_15_page_046.png", 'How are individual heterogeneous models trained?'],
|
52 |
-
["data/week_15_page_021.png", 'How does Bagging affect error?'],
|
53 |
-
["data/week_15_page_037.png", "What does the '+' and '-' represent?"]]
|
54 |
|
55 |
# Define the Gradio interface
|
56 |
iface = gr.Interface(
|
|
|
43 |
return answer
|
44 |
|
45 |
|
46 |
+
examples = [["data/week_01_page_024.png", 'Can you explain the slide?',100],
|
47 |
+
["data/week_03_page_091.png", 'Can you explain the slide?',100],
|
48 |
+
["data/week_01_page_062.png", 'Are the training images labeled?',100],
|
49 |
+
["data/week_05_page_027.png", 'What is meant by eigenvalue multiplicity?',100],
|
50 |
+
["data/week_05_page_030.png", 'What does K represent?',100],
|
51 |
+
["data/week_15_page_046.png", 'How are individual heterogeneous models trained?',100],
|
52 |
+
["data/week_15_page_021.png", 'How does Bagging affect error?',100],
|
53 |
+
["data/week_15_page_037.png", "What does the '+' and '-' represent?",100]]
|
54 |
|
55 |
# Define the Gradio interface
|
56 |
iface = gr.Interface(
|