Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import
|
3 |
|
4 |
def askPrice():
|
5 |
res = r.request('https://orapiweb1.pttor.com/api/oilprice/LatestOilPrice')
|
|
|
1 |
import gradio as gr
|
2 |
+
import requests as r
|
3 |
|
4 |
def askPrice():
|
5 |
res = r.request('https://orapiweb1.pttor.com/api/oilprice/LatestOilPrice')
|