billy-sunday commited on
Commit
af2f3ed
·
1 Parent(s): bd59834

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -4,6 +4,8 @@ import torch
4
  from dataclasses import dataclass, field
5
  from typing import Any, Dict, List, Optional, Union
6
  import evaluate
 
 
7
 
8
 
9
  ds="PolyAI/minds14"
@@ -117,3 +119,10 @@ trainer = Trainer(
117
  )
118
 
119
  trainer.train()
 
 
 
 
 
 
 
 
4
  from dataclasses import dataclass, field
5
  from typing import Any, Dict, List, Optional, Union
6
  import evaluate
7
+ import streamlit as st
8
+
9
 
10
 
11
  ds="PolyAI/minds14"
 
119
  )
120
 
121
  trainer.train()
122
+
123
+
124
+ # steamlit
125
+ x = st.slider('Select a value')
126
+ st.write(x, 'squared is', x * x)
127
+
128
+