Sophia Koehler
commited on
Commit
·
e8df6fa
1
Parent(s):
d661944
fix2
Browse files
app.py
CHANGED
@@ -1,15 +1,5 @@
|
|
1 |
# -*- coding: utf-8 -*-
|
2 |
-
"""Kopie von HW1 (more instructed).ipynb
|
3 |
|
4 |
-
Automatically generated by Colab.
|
5 |
-
|
6 |
-
Original file is located at
|
7 |
-
https://colab.research.google.com/drive/1BrX2Zy737ji-Lbb2evMV2P-WfzvTniHj
|
8 |
-
"""
|
9 |
-
|
10 |
-
!pip install git+https://github.com/kwang2049/nlp4web-codebase.git
|
11 |
-
!git clone https://github.com/kwang2049/nlp4web-codebase.git # You can always check the content of this simple codebase at any time
|
12 |
-
!pip install gradio # we also need this additionally for this homework
|
13 |
|
14 |
"""## Pre-requisite code
|
15 |
|
@@ -481,8 +471,6 @@ def search(query: str) -> List[Hit]:
|
|
481 |
```
|
482 |
"""
|
483 |
|
484 |
-
!pip install gradio
|
485 |
-
|
486 |
import gradio as gr
|
487 |
from typing import TypedDict
|
488 |
|
|
|
1 |
# -*- coding: utf-8 -*-
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
"""## Pre-requisite code
|
5 |
|
|
|
471 |
```
|
472 |
"""
|
473 |
|
|
|
|
|
474 |
import gradio as gr
|
475 |
from typing import TypedDict
|
476 |
|